package com.example.comzg24_2.uril

import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide

object ImageLoad {
    @JvmStatic
    @BindingAdapter("img_url")
    fun LoadImage(imageView: ImageView,url:String?){
        if(url!=null){
            Glide.with(imageView.context).load(url).into(imageView)
        }
    }
}